ddns-scripts: fix getting IP address via web in get_current_ip()
authorQian Suyao <[email protected]>
Thu, 10 Jul 2025 15:05:58 +0000 (23:05 +0800)
committerFlorian Eckert <[email protected]>
Tue, 5 Aug 2025 06:37:41 +0000 (08:37 +0200)
commit65a9d7d45067a11b257b2752300c37adaddb5a6a
treeeb7ece2d3ac4d86428007afa2191cfb30e1258e9
parentac1076ef9530138e7c84d2858d5cf2b5d8c74e02
ddns-scripts: fix getting IP address via web in get_current_ip()

Add back the regex searching for valid IP address when getting IP
address via web.

Fixes: 9cdd1a1660b6 ("ddns-scripts: refactor get_current_ip()")
Signed-off-by: Qian Suyao <[email protected]>
net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh